var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }
    status++;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.spawnMobLimit(9601340, 1, -295, 73, 100);
            cm.spawnMobLimit(9601340, 1, -151, 74, 100);
            cm.spawnMobLimit(9601339, 1, 98, 71, 100);
            cm.spawnMobLimit(9601339, 1, -16, 65, 100);
            cm.spawnMobLimit(9601339, 1, 225, 74, 100);
            cm.spawnMobLimit(9601339, 1, 456, 74, 100);
            cm.addPopupSay(9401029, 3000, "消灭迪格和食石者，进去看看吧！", "", 0);
            cm.dispose()
        }
    }
};